package com.aabbc.order.facade.impl;

import com.aabbc.order.entity.OrderInfo;
import com.aabbc.order.facade.IOrderInfoFacade;
import com.aabbc.order.service.IOrderInfoService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * OrderFacadeImpl
 *
 * @author: chenfenghai
 * @version: 1.0
 * @date: 2019-12-16 11:01
 * @blame Team
 */
@Component
@Service(interfaceClass = IOrderInfoFacade.class, version = "1.0.0")
public class OrderFacadeImpl implements IOrderInfoFacade {

    @Autowired
    IOrderInfoService orderInfoService;

    @Override
    public List<OrderInfo> queryOrderInfoList() {
        return orderInfoService.list();
    }
}
